package com.cuhk.gulimall.product.feign;


import com.cuhk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-ware")
public interface WareFeignService {
    @GetMapping("/ware/waresku/{skuId}/stock")
    R getSkuHasStock(@PathVariable Long skuId);
}
